package com.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 04-27-21:23
 */
@Service
@FeignClient(value = "PAYMENT-CLIENT",fallback = TestImpl.class)
public interface Test {
    @GetMapping("/payment/runtimeError/")
    public String getPaymentInfo();
}
